import 'package:flutter_deer/login/page/LoginPresenter.dart';
import 'package:flutter_deer/ui/cashier/provider/cashier_page_provider.dart';
import 'package:flutter_deer/ui/cashier/provider/turn_shift_provider.dart';
import 'package:flutter_deer/ui/member/provider/member_provider.dart';
import 'package:flutter_deer/util/log/text_channel_system.dart';
import 'package:flutter_deer/util/print/print_manager.dart';
import 'package:flutter_deer/util/socket/mdc_provider.dart';
import 'package:flutter_deer/util/speak/tts_manger.dart';
import 'package:get/get.dart';
import 'package:get_storage/get_storage.dart';

import 'cashier/provider/common_http_provider.dart';
import 'cashier/provider/fcc_provider.dart';
import 'cashier/provider/goods_select_provider.dart';
import 'cashier/provider/mqtt_provider.dart';

/// 首页的依赖注入绑定
class MainBindings extends Bindings {
  @override
  void dependencies() {
    Get.lazyPut(() => GetStorage());
    Get.lazyPut(() => LoginPresenter());
    Get.lazyPut(() => CashierPageProvider());
    Get.lazyPut(() => FccProvider());
    Get.lazyPut(() => MdcProvider());
    Get.lazyPut(() => MqttProvider());
    Get.lazyPut(() => GoodsSelectProvider());
    Get.lazyPut(() => CommonHttpProvider());
    Get.lazyPut(() => TtsEngineManager());
    Get.lazyPut(() => PrintEngineManager());
    Get.lazyPut(() => TurnShiftProvider());
    Get.lazyPut(() => MemberProvider());
    Get.lazyPut(() => TextChannelSystem());
  }
}
